#ifndef _TEST7_H_
#define _TEST7_H_

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "test1.h"

#define num 13

typedef struct hashnode
{
    int key;
    int value;
    struct hashnode *next;
} hashnode;
typedef struct
{
    hashnode ha[num];
} hashlist;

hashlist *HashCreate(void);
int HashInsert(hashlist *list, int key);
int HashSearch(hashlist *list, int key);
int Hash(int key);
int HashAllPrintf(hashlist *list);
void test7(void);

#endif // !_TEST7_H_
